package com.pj.thread;

import java.util.concurrent.ThreadFactory;

/**
 * @author 王存露
 * @date 2021/2/27
 */
public class SimplyThreadFactory implements ThreadFactory {
    @Override
    public Thread newThread(Runnable r) {
        return new Thread(new TestThread());
    }
}
